import cx_Oracle

conn = cx_Oracle.connect('apps', 'apps', '10.102.30.253:12521/PROD')
cursor = conn.cursor()

print("连接成功！")

cursor.close()
conn.commit()
conn.close()